public class ADSB_Sentence implements ADSB_Sentence_Interface
{
	//create sentence
	ADSB_Sentence_Factory sentence = new ADSB_Sentence_Factory();

	//cut out timestamp
	public String getTimestamp()
	{
		String split = sentence.fromWebdisJson();
		return split.substring(25, split.length());
	}

	//cut out DF & CA
	public String getDfca()
	{
		String split = sentence.fromWebdisJson();
		return split.substring(25, 27);
	}

	
	//cut out ICAO
	public String getIcao()
	{
		String split = sentence.fromWebdisJson();
		return split.substring(28, 34);
	}

	
	//cut out Parity
	public String getParity()
	{
		String split = sentence.fromWebdisJson();
		return split.substring(47, split.length());
	}

}
